package com.ftx.domain.vo;

import java.util.Date;

/**
 * Created by fengtingxin on 2019/6/10.
 * 文章VO
 */
public class ArticleVO {


    private Long id;

    private Date created;

    private Date modified;

    /**
     * 标题
     */
    private String title;

    /**
     * 阅读量
     */
    private Integer readingVolume;

    /**
     * 发布时间
     */
    private Date publishDate;

    /**
     * 标签 (以逗号分隔就行)
     */
    private String tagIds;

    /**
     * 所属类目id
     */
    private Long cid;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 文章状态(1:暂存，2：发布完成)
     */
    private Integer articleStatus;

    /**
     * 文章简介
     */
    private String articleIntroduce;

    /**
     * 发布人员
     */
    private String modifiedAccount;

    /**
     * 文章类型
     */
    private Integer articleType;

    /**
     * 文章公开度
     */
    private Integer articlePublic;

    /**
     * 文章logo
     */
    private String articleLogo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Integer getReadingVolume() {
        return readingVolume;
    }

    public void setReadingVolume(Integer readingVolume) {
        this.readingVolume = readingVolume;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getTagIds() {
        return tagIds;
    }

    public void setTagIds(String tagIds) {
        this.tagIds = tagIds;
    }

    public Long getCid() {
        return cid;
    }

    public void setCid(Long cid) {
        this.cid = cid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getArticleStatus() {
        return articleStatus;
    }

    public void setArticleStatus(Integer articleStatus) {
        this.articleStatus = articleStatus;
    }

    public String getArticleIntroduce() {
        return articleIntroduce;
    }

    public void setArticleIntroduce(String articleIntroduce) {
        this.articleIntroduce = articleIntroduce;
    }

    public String getModifiedAccount() {
        return modifiedAccount;
    }

    public void setModifiedAccount(String modifiedAccount) {
        this.modifiedAccount = modifiedAccount;
    }

    public Integer getArticleType() {
        return articleType;
    }

    public void setArticleType(Integer articleType) {
        this.articleType = articleType;
    }

    public Integer getArticlePublic() {
        return articlePublic;
    }

    public void setArticlePublic(Integer articlePublic) {
        this.articlePublic = articlePublic;
    }

    public String getArticleLogo() {
        return articleLogo;
    }

    public void setArticleLogo(String articleLogo) {
        this.articleLogo = articleLogo;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ArticleVO{");
        sb.append("id=").append(id);
        sb.append(", created=").append(created);
        sb.append(", modified=").append(modified);
        sb.append(", title='").append(title).append('\'');
        sb.append(", readingVolume=").append(readingVolume);
        sb.append(", publishDate=").append(publishDate);
        sb.append(", tagIds='").append(tagIds).append('\'');
        sb.append(", cid=").append(cid);
        sb.append(", content='").append(content).append('\'');
        sb.append(", articleStatus=").append(articleStatus);
        sb.append(", articleIntroduce='").append(articleIntroduce).append('\'');
        sb.append(", modifiedAccount='").append(modifiedAccount).append('\'');
        sb.append(", articleType=").append(articleType);
        sb.append(", articlePublic=").append(articlePublic);
        sb.append(", articleLogo='").append(articleLogo).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
